home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 98
/
Skunkware 98.iso
/
src
/
net
/
omniORB-2.5.0-src.tar.gz
/
omniORB-2.5.0-src.tar
/
omniORB_2.5.0
/
README.egcs
< prev
next >
Wrap
Text File
|
1998-02-05
|
2KB
|
54 lines
Egcs-1.0 was released in Dec 1997 and was followed by egcs-1.0.1 in Jan 1998.
The stock compiler can compile this distribution cleanly. However, the
code it generates does not have thread-safe exception handling. This would
result in random crashes when omniORB programs are run.
Teemu Torma has provided a patch to egcs-1.0 to make it generates
thread-safe exception handling code. OmniORB2 has been tested with the
patched compiler and successfully run on the following platforms:
o x86 linux 2.0 / glibc 2.0.x (Redhat 5.0)
o alpha linux 2.0 / glibc 2.0.x (Redhat 5.0)
o AIX 4.2
However, there is a compiler bug in egcs-1.0 that make it unable to compile
some of the sequence templates in omniORB2. The bug might be fixed in the
latest snapshot of egcs but I'm not certain.
Teemu Torma's patch is reported to be working on Solaris, HPUX and AIX as
well. Andrey Slepuhin has run the omniORB2_testsuite with egcs on AIX. Let
me know if you have success in running the testsuite on other platforms.
The latest development snapshot of egcs seems to have incorporated the patch
but I have not tested it myself.
I've left my binaries for x86 Redhat linux 5.0 and alpha Redhat linux 5.0
in:
ftp.orl.co.uk:/pub/linux/egcs-1.0.alphabin.tgz (4M) and
ftp.orl.co.uk:/pub/linux/egcs-1.0.x86bin.tgz (4M)
The diff against the unpatched egcs-1.0 is in:
ftp.orl.co.uk:/pub/linux/egcs-1.0-thread-safe-eh.diff (60K)
The diff is based on Teemu Torma's patch + patch for RedHat 5.0 by H.J. Lu
+ my bug fix to get the thread-safe-eh stuff to work with linux-threads (or
any draft 10 or later posix thread implementations).
For x86 Redhat linux 5.0, you must update binutils to 2.8.1.0.17.
If you are building the compiler yourself, you have to apply this patch to
the resulting spec file:
23c23
< %{pg:-lgmon} %{pg:-lc_p} %{!pg:-lc} %{pthread:-lpthread}
---
> %{pg:-lgmon} %{pg:-lc_p} %{!pg:-lc} %{pthread:-rpath /usr/local/lib/pthread -lpthread}
This is to ensure that the thread-safe-eh version of the stdc++ library is
picked up when the executable is run.
- Sai-Lai Lo